package com.snowy.hidden.user.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户(UserInfo)表实体类
 *
 * @author chenli
 * @since 2021-06-24 00:04:11
 */
@Data
public class UserInfoDTO implements Serializable {


    private String id;

    /**
     * 电话
     */
    private String phone;
    /**
     * token
     */
    private String token;


    /**
     *单位名称
     */
    private String orgName;


    /**
     * 用户名称
     */
    private String name;


    @JsonFormat(timezone = "GMT+8", pattern = "yyyy年MM月dd日")
    @DateTimeFormat(pattern = "yyyy年MM月dd日")
    private Date createTime;

    private String avatar;




}
